<?php
/* @var $this AdmRoleController */
/* @var $model AdmRole */

$this->breadcrumbs=array(
	'综合控制台'=>array($this->pre_module_url.'/index/index'),
	'子账号管理'=>array($this->pre_module_url.'/adminer/admin'),
	'角色管理'=>array('admin'),
);

?>

<table class="list_table list_table2" cellpadding="0" cellspacing="0" width="100%">
	<tr>
		<th width="" class="pl15">角色名称</th>
		<th width="40%">角色说明</th>
		<th width="20%">创建时间</th>
		<th width="20%">操作</th>
	</tr>
</table>

<?php   
$this->widget('zii.widgets.CListView', array(  
    'dataProvider'=>$model->search(),  
    'itemView'=>'_view',
    'selectAll'=>array('ids[]','id[]'),  
	'itemsTagName'=>'table',
	'itemsOptions'=>array('class'=>'list_table list_table2','width'=>'100%','cellpadding'=>0,'cellspacing'=>0),
    'artLink'=>array(   
        //批量删除
        array(Yii::t('adm','Delete All'),$this->pre_module_url.'/admRole/delete','确认删除所选信息吗！'),  
    ),  
    'batchItem'=>array(  
        //新建角色
        CHtml::link(Yii::t('adm','Create Role').'<b class="mem_bgx left"></b><b class="mem_bgx right"></b>',array('create'),array('class'=>'mem_bgx link_btn mr5')),  
    ),  
    ));  
?>  
